'use strict';

module.exports = app => {
  const { router, controller } = app;
  router.post('/api/article/add', controller.article.add);
  router.post('/api/article/update', controller.article.update);
  router.get('/api/article/list', controller.article.list);
  router.get('/api/article/find', controller.article.findCid);
  router.get('/api/article/detail', controller.article.detail);
  router.get('/api/article/del', controller.article.del);
}
